package com.xuecheng.ucenter.service;

import com.xuecheng.ucenter.model.po.XcUser;

/**
 * Created with IntelliJ IDEA.
 * Description: 微信认证接口
 * User: ws
 * Date: 2024-07-17
 * Time: 22:03
 */
public interface WxAuthService {


    /**
     * 微信扫码认证，申请令牌，携带令牌查询用户信息，保存用户信息到数据库
     * @param code 授权码
     * @return
     */
    XcUser wxAuth(String code);

}